<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Betrothals
 */
class Betrothals
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var integer $brideId
     */
    private $brideId;

    /**
     * @var integer $groomId
     */
    private $groomId;

    /**
     * @var integer $onTurn
     */
    private $onTurn;

    /**
     * @var smallint $isMatrilineal
     */
    private $isMatrilineal;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set brideId
     *
     * @param integer $brideId
     * @return Betrothals
     */
    public function setBrideId($brideId)
    {
        $this->brideId = $brideId;
        return $this;
    }

    /**
     * Get brideId
     *
     * @return integer 
     */
    public function getBrideId()
    {
        return $this->brideId;
    }

    /**
     * Set groomId
     *
     * @param integer $groomId
     * @return Betrothals
     */
    public function setGroomId($groomId)
    {
        $this->groomId = $groomId;
        return $this;
    }

    /**
     * Get groomId
     *
     * @return integer 
     */
    public function getGroomId()
    {
        return $this->groomId;
    }

    /**
     * Set onTurn
     *
     * @param integer $onTurn
     * @return Betrothals
     */
    public function setOnTurn($onTurn)
    {
        $this->onTurn = $onTurn;
        return $this;
    }

    /**
     * Get onTurn
     *
     * @return integer 
     */
    public function getOnTurn()
    {
        return $this->onTurn;
    }

    /**
     * Set isMatrilineal
     *
     * @param smallint $isMatrilineal
     * @return Betrothals
     */
    public function setIsMatrilineal($isMatrilineal)
    {
        $this->isMatrilineal = $isMatrilineal;
        return $this;
    }

    /**
     * Get isMatrilineal
     *
     * @return smallint 
     */
    public function getIsMatrilineal()
    {
        return $this->isMatrilineal;
    }
}